LinuxQMISDK-Lite  SLQS04.00.27
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Typedefs | Functions
MbimIndicator.h File Reference

Go to the source code of this file.

Data Structures

struct  MbimIndicator
 

Typedefs

typedef void(* MBIM_INDICATION_CALLBACK )(uint8_t *deviceServiceId, uint32_t cid, uint8_t *informationBuffer, uint32_t informationBufferLength, void *pIndicationCallbackContext)
 
typedef struct MbimIndicator MbimIndicator
 

Functions

void MbimIndicator_Initialize (MbimIndicator *pThis, MBIM_INDICATION_CALLBACK pIndicationCallback, void *pIndicationCallbackContext)
 

Typedef Documentation

typedef void(* MBIM_INDICATION_CALLBACK)(uint8_t *deviceServiceId, uint32_t cid, uint8_t *informationBuffer, uint32_t informationBufferLength, void *pIndicationCallbackContext)

This funcion prototype represents the callback which is called by the MBIM transport when a MBIM indication is received.

Parameters
[in]informationBufferIndication's informationBuffer.
[in]informationBufferLengthNumber of bytes in indication's informationBuffer.
[in]pIndicationCallbackContextUser context supplied when indicator was initialized.
typedef struct MbimIndicator MbimIndicator

This structure abstracts a MBIM indication callback. Users who wish to be notified of MBIM indications can register one of these objects with the MbimTransport object using MbimTransport_AttachIndicator/MbimTransport_DetachIndicator calls.

Parameters
pPrev
  • A link so that this object can be stored in a linked list by the transport layer. This points to the previous object or NULL if this is the first object in the list.
pNext
  • A link so that this object can be stored in a linked list by the transport layer. This points to the next object or NULL if this is the last object in the list.
pIndicationCallback
  • User callback for MBIM indication.
pIndicationCallbackContext
  • User context for user callback.

Function Documentation

void MbimIndicator_Initialize ( MbimIndicator pThis,
MBIM_INDICATION_CALLBACK  pIndicationCallback,
void *  pIndicationCallbackContext 
)

Initialize the indicator object.

Parameters
[in]pThisThe primary object of this call.
[in]pIndicationCallbackUser function to be be called when MBIM indication is received.
[in]pIndicationCallbackContextA user context for callback.

Copyright (c) 2011-2015 Sierra Wireless, Inc. All rights reserved